import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
// 导入请求模块
import request from './utils/request.ts'
import './mock/index.ts'
import './assets/iconfont.css'
import 'swiper/dist/css/swiper.min.css'
let app = createApp(App)
// 挂载路由实例
app.use(router)
// 传递axios对象
app.provide('$axios', request)
app.mount('#app')
